package com.sanyu.lovefishing.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.fragment.app.Fragment;

import com.lyf.core.ui.fragment.BaseFragment;
import com.sanyu.lovefishing.databinding.FragmentIndexBinding;

/**
 * A simple {@link Fragment} subclass.
 * Use the {@link IndexFragment#newInstance} factory method to
 * create an instance of this fragment.
 */
public class IndexFragment extends BaseFragment<FragmentIndexBinding> {

    public static IndexFragment newInstance() {
        Bundle args = new Bundle();
        IndexFragment fragment = new IndexFragment();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected FragmentIndexBinding getViewBinding(LayoutInflater inflater, ViewGroup container) {
        return FragmentIndexBinding.inflate(inflater,container,false);
    }
}
